package o;

import java.lang.reflect.Field;

class cji {
    private final Class<?> ˊ;
    private final Field ˎ;

    public cji(Field field, Class<?> cls) {
        this.ˎ = field;
        this.ˊ = cls;
    }

    public Object ˊ() {
        try {
            return this.ˊ.newInstance();
        } catch (Exception e) {
            return null;
        }
    }

    public void ॱ(cjo o_cjo, Object obj) {
        if (this.ˎ != null && o_cjo != null) {
            boolean isAccessible = this.ˎ.isAccessible();
            this.ˎ.setAccessible(true);
            try {
                this.ˎ.set(o_cjo, obj);
            } catch (Throwable e) {
                ckx.ˎ.ˊ("FieldInfo", "set value of the field exception.", e);
            } finally {
                this.ˎ.setAccessible(isAccessible);
            }
        }
    }
}
